<template>
    <div>
        <h2>我是员工</h2>

    </div>
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router';

// //从EmploeyeeStore.ts文件引入  useEmploeyeeStorestore
// import {useEmploeyeeStore} from '../employeeStore'

//拿到父组件给的参数 在query中
 let route=useRoute();
 console.log(`员工组件的路由`, route.query);
</script>


<style scoped>
</style>